When will the NDK have RISC-V support?

347 views
Skip to first unread message

John Dallman

unread,
Feb 9, 2023, 6:46:27 AM2/9/23
to andro...@googlegroups.com
It's been announced that AOSP will have RISC-V support. Do we know when the NDK will have it? 


Powerful devices to test on are a different problem, of course. 

Best,

John

enh

unread,
Feb 9, 2023, 10:37:31 AM2/9/23
to andro...@googlegroups.com
nothing to announce at this time, but the NDK will likely be one of
the last pieces. it'll be hard to keep moving the ABI forwards after
that point, and rv64gc really isn't enough. there are also some quite
fundamental issues like
https://lists.riscv.org/g/tech-unprivileged/topic/92916241 to address.

https://github.com/google/android-riscv64/issues is an incomplete
mixture of hardware/toolchain/library/OS/developer issues that we're
filling out as we work on bringing up riscv64, just to understand the
scope of the problem.
> --
> You received this message because you are subscribed to the Google Groups "android-ndk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAH1xqg%3DEt_hC_DuKoXUmRKTb%2B2toriHcT5W-LGvyL%3DHBf0_ewQ%40mail.gmail.com.

John Dallman

unread,
Feb 10, 2023, 6:49:05 AM2/10/23
to andro...@googlegroups.com
Um . . . the "Hardware: better atomics" issue appears to be saying that a RISC-V extension is necessary to handle modern C++ atomic operations, and that this was first officially proposed only about three months ago. Have I got that right? 

Obviously getting a stable ABI is necessary before releasing RISC-V Android. But the process of getting an extension agreed and implemented by core designers is presumably going to take a year or two? 

Thanks,

John

enh

unread,
Feb 10, 2023, 10:39:27 AM2/10/23
to andro...@googlegroups.com
like i said before (emphasis added):
mixture of **hardware**/toolchain/library/OS/developer issues that we're
filling out as we work on bringing up riscv64, just to understand the
scope of the problem.

> To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAH1xqgk26YqQMW%2B%3DAeqjAfjeJQSk5seRbDhgrGeQuOrBcXrF8A%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages